package com.hospital.doctor.doctory.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.hospital.drug.drugyan.entity.Doctor_information;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author ：ysb
 * @ClassName ：DoctorDiagnose
 * @Package ：com.hospital.doctor.doctory.entity
 * @Description:
 * @Date:2021/11/2 22:03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DoctorDiagnose {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userid;
    private String usertype;
    private String diagnosedate;
    private Integer doctorid;

    private Doctor_information doctor_information;

    public DoctorDiagnose(Integer id, Integer userid, String usertype, String diagnosedate, Integer doctorid) {
        this.id = id;
        this.userid = userid;
        this.usertype = usertype;
        this.diagnosedate = diagnosedate;
        this.doctorid = doctorid;
    }

    public DoctorDiagnose(Integer userid, String usertype, String diagnosedate, Integer doctorid) {
        this.userid = userid;
        this.usertype = usertype;
        this.diagnosedate = diagnosedate;
        this.doctorid = doctorid;
    }
}
